package com.ruoyi.paper.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 试卷题目对象 exam_paper_lib
 * 
 * @author ruoyi
 * @date 2025-04-14
 */
public class ExamPaperLib extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private String paperLibId;

    /** 试卷ID */
    @Excel(name = "试卷ID")
    private String paperId;

    /** 试题ID */
    @Excel(name = "试题ID")
    private String libId;

    /** 0:单选题；1：多选题；2：不定项题；3：主观题 */
    @Excel(name = "0:单选题；1：多选题；2：不定项题；3：主观题")
    private String questionType;

    /**  */
    @Excel(name = "")
    private String questionBody;

    /**  */
    @Excel(name = "")
    private String refAnswer;

    /**  */
    @Excel(name = "")
    private String explanation;

    /** 序号 */
    @Excel(name = "序号")
    private Long seqNo;

    private List<ExamOption> options;
    private  String score;

    public String getScore() {
        return score;
    }

    public void setScore(String score) {
        this.score = score;
    }

    public List<ExamOption> getOptions() {
        return options;
    }
    public void setOptions(List<ExamOption> options) {
        this.options = options;
    }

    public void setPaperLibId(String paperLibId) 
    {
        this.paperLibId = paperLibId;
    }

    public String getPaperLibId() 
    {
        return paperLibId;
    }

    public void setPaperId(String paperId) 
    {
        this.paperId = paperId;
    }

    public String getPaperId() 
    {
        return paperId;
    }

    public void setLibId(String libId) 
    {
        this.libId = libId;
    }

    public String getLibId() 
    {
        return libId;
    }

    public void setQuestionType(String questionType) 
    {
        this.questionType = questionType;
    }

    public String getQuestionType() 
    {
        return questionType;
    }

    public void setQuestionBody(String questionBody) 
    {
        this.questionBody = questionBody;
    }

    public String getQuestionBody() 
    {
        return questionBody;
    }

    public void setRefAnswer(String refAnswer) 
    {
        this.refAnswer = refAnswer;
    }

    public String getRefAnswer() 
    {
        return refAnswer;
    }

    public void setExplanation(String explanation) 
    {
        this.explanation = explanation;
    }

    public String getExplanation() 
    {
        return explanation;
    }

    public void setSeqNo(Long seqNo) 
    {
        this.seqNo = seqNo;
    }

    public Long getSeqNo() 
    {
        return seqNo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("paperLibId", getPaperLibId())
            .append("paperId", getPaperId())
            .append("libId", getLibId())
            .append("questionType", getQuestionType())
            .append("questionBody", getQuestionBody())
            .append("refAnswer", getRefAnswer())
            .append("explanation", getExplanation())
            .append("seqNo", getSeqNo())
            .toString();
    }
}
